// 手写中间件模板
import {Inject,NestMiddleware} from '@nestjs/common'
import {Request,Response,NextFunction} from "express";

export class Logger1 implements NestMiddleware{
use (req:Request,res:Response,next:NextFunction){
    // console.log('我来了,呵呵呵')
    // res.send('我被拦截了')
    next()
}
}